//
//  DynamicModel.h
//  WeCommunity
//
//  Created by mac on 2017/6/14.
//  Copyright © 2017年 lzy. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "ContactModel.h"


@interface DynamicModel : NSObject
{
    NSString * _formatTime;
}

@property (nonatomic,assign) int  dataType;                 //类型

@property (nonatomic,strong) ContactModel * contact;        //用户

@property (nonatomic,strong) NSString * contactId;          //用户id

@property (nonatomic,strong) NSString * objectId;          //动态id

@property (nonatomic,strong) NSString * content;            //内容描述

@property (nonatomic,strong) NSMutableArray * imageList;    //图片集合

@property (nonatomic,strong) NSMutableArray * reportList;   //举报人集合

@property (nonatomic,assign) NSInteger  reportCount;        //举报人数

@property (nonatomic,assign) BOOL  isReport;                //是否已举报

@property (nonatomic,strong) NSMutableArray * likeList;     //点赞集合

@property (nonatomic,assign) BOOL  isLike;                  //是否已点赞

@property (nonatomic,assign) long  readTotalNum;            //阅读数

@property (nonatomic,assign) long  customReadTotalNum;      //自定义阅读数

@property (nonatomic,assign) long  likeTotalNum;            //点赞数

@property (nonatomic,strong) NSString * formatLikeTotalNum; //格式化后的点赞数

@property (nonatomic,strong) NSString * createTime;         //动态发布时间

@property (nonatomic,strong) NSDate * createDate;           //动态发布时间

@property (nonatomic,strong) NSString * formatTime1;         //格式化后的动态发布时间

@property (nonatomic,strong) NSString * formatTime2;         //格式化后的动态发布时间

@property (nonatomic,assign) CGFloat  contentWidth;        //内容宽度

@property (nonatomic,assign) CGFloat  contentHeight;        //内容高度

@property (nonatomic,assign) CGFloat  totalHeight;          //总高度

@property (nonatomic,assign) CGFloat  mineContentHeight;          //总高度

@property (nonatomic,assign) BOOL showAlltext;              //是否显示全部的文字


+(DynamicModel *)setValueFormObject:(id)object;

@end
